﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataBinding
{
    public class Producer
    {
        public int id { get; set; }
        public string producerName { get; set; }
        public List<Model> models { get; set; }

        public Producer(int id, string name, List<Model> models) 
        {
            this.id = id;
            this.producerName = name;
            this.models = models;
        }
    }
}